<!DOCTYPE html>
<html lang="zh-cn">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title></title>
		<style>
			[v-cloak]{
				display: none;
			}
			.yellow {
				background: yellow;
			}
			#app div {
				width: 300px;
				height: 300px;
				background: red;
				display: none;
			}
		</style>
		<script src="./src/vue.js"></script>
	</head>

	<body>
		<div id="app">
			<button class="yellow">新闻</button>
			<button>娱乐</button>
			<button>体育</button>
			<div style="display: block;">
				<p>新闻版块1</p>
				<p>新闻版块1</p>
				<p>新闻版块1</p>
			</div>
			<div>
				<p>娱乐版块1</p>
				<p>娱乐版块2</p>
				<p>娱乐版块3</p>
			</div>
			<div>
				<p>体育版块1</p>
				<p>体育版块2</p>
				<p>体育版块3</p>
			</div>
		</div>
		<script>
			let data = [
				{
					title: '新闻',
					list: [
						{
							newsTitle: '新闻版块1'
						},
						{
							newsTitle: '新闻版块2'
						},
						{
							newsTitle: '新闻版块3'
						}
					]
				},
				{
					title: '娱乐',
					list: [
						{
							newsTitle: '娱乐版块1'
						},
						{
							newsTitle: '娱乐版块2'
						},
						{
							newsTitle: '娱乐版块3'
						}
					]
				},
				{
					title: '体育',
					list: [
						{
							newsTitle: '体育版块1'
						},
						{
							newsTitle: '体育版块2'
						},
						{
							newsTitle: '体育版块3'
						}
					]
				}
			];





		</script>
	</body>
</html>